//
//  FriendImpressionCell.m
//  u76ho
//
//  Created by m-air-01 on 16/1/8.
//  Copyright © 2016年 LV. All rights reserved.
//

#import "FriendImpressionCell.h"

@implementation FriendImpressionCell

- (void)awakeFromNib {
    // Initialization code
}
-(void)setModel:(FirendImpretionModel *)model
{
    NSString * str1 = model.username;
    NSString * str2 = @"描述了:";
    NSString * str3 = model.tags;
    UILabel * firstLab = [[UILabel alloc]initWithFrame:CGRectMake(SIZETO6W(15), self.frame.size.height/2-30/2, [str1 widthOfSize:17], 30)];
    firstLab.text = str1;
    firstLab.textColor = UIColorFromRGB(0x333944);
    [self addSubview:firstLab];
    
    UILabel * secLab = [[UILabel alloc]initWithFrame:CGRectMake(firstLab.right+SIZETO6W(6), firstLab.top, [str2 widthOfSize:17], 30)];
    secLab.textColor = UIColorFromRGB(0x94999f);
    secLab.text = str2;
    [self addSubview:secLab];
    
    UILabel * firLab = [[UILabel alloc]initWithFrame:CGRectMake(secLab.right+SIZETO6W(6), firstLab.top, [str3 widthOfSize:17], 30)];
    firLab.text = str3;
    firLab.textColor = UIColorFromRGB(0x333944);
    [self addSubview:firLab];

}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
